package cn.t12.qg.goodsprovider.service;

import cn.t12.qg.goodsprovider.mapper.QgGoodsMapper;
import cn.t12.qg.service.user.GoodsService;
import com.qg.pojo.QgGoods;
import org.apache.dubbo.config.annotation.DubboService;

import javax.annotation.Resource;

@DubboService(version = "1.0.0",interfaceClass = GoodsService.class)
public class QgGoodsServiceImpl implements GoodsService {
    @Resource
    private QgGoodsMapper qgGoodsMapper;
    @Override
    public QgGoods getById(String id) {
        return qgGoodsMapper.selectById(id);
    }
}
